$OpenBSD: patch-scan-engine_cc,v 1.10 2016/12/22 21:58:40 sthen Exp $

pcap_filter changes: to deal with base libpcap which doesn't support sctp
(not currently needed as using internal libpcap)

Format changes for 64-bit time_t, should go upstream

--- scan_engine.cc.orig	Wed Dec 14 00:12:23 2016
+++ scan_engine.cc	Thu Dec 22 05:45:11 2016
@@ -2037,7 +2037,7 @@ void ultrascan_host_probe_update(UltraScanInfo *USI, H
     struct timeval tv;
 
     gettimeofday(&tv, NULL);
-    log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %ld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (long) TIMEVAL_SUBTRACT(tv, probe->sent));
+    log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %lld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (time_t) TIMEVAL_SUBTRACT(tv, probe->sent));
   }
 
   ultrascan_host_pspec_update(USI, hss, probe->pspec(), newstate);
